package com.yidu.best.systemManagement.systemLog.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.best.systemManagement.systemLog.domian.Log;
import com.yidu.best.systemManagement.systemLog.domian.LogVo;

public interface LogDao {
	/**
	 * 查询
	 * @param logVo
	 * @return
	 */
	public List<Log> findPageQueryLog(LogVo logVo);
	
	/**
	 * 添加
	 * @param log
	 * @return
	 */
	public int addLog(Log log);
	
	/**
	 * 查询数量
	 * @param logVo
	 * @return
	 */
	public int findCountLog(LogVo logVo);
	
	public List<Log> selectLogByLogTime(@Param("startTime")Date startTime,@Param("stopTime")Date stopTime);
	
	public int deleteLogByLogTime(@Param("startTime")Date startTime,@Param("stopTime")Date stopTime);
}
